Scheduler Library Objects
From version 7.2, there are functions that enable you to schedule a job for Desktop Automation.
The functions are exposed under Project > References > Library References > Direct.Scheduler.Library.
To use the functions, create an instance of General > Scheduler.
Name |
Input Type |
Description |
---|---|---|
CRON Expression List | List of Text |
CRON expression (single or multiple). To use this functionality, see the fields of CRON expression in the table below. For example, for every 5 minutes, CRON expression is 0/5 * * * * ? |
GroupName | Text | Name of the Scheduler job. |
The CRON expression contains these seven fields to schedule a job.
Field name |
Value permitted |
---|---|
Seconds | 0 to 59 |
Minutes |
0 to 59 |
Hours | 0 to 23 |
Day of Month | 1 to 31 |
Month |
1 to 12 OR JAN to DEC |
Day of Week |
1 to 7 OR SUN to SAT |
Year (Optional) | Empty. 1970 to 2099 |
To further understand the CRON expression, see CRON Expression Generator.

Schedules a job based on the CRON expression provided in the CRON Expression List.
The scheduler functions must be executed in the following order: Schedule a Job, Start the Scheduler and then Stop the Scheduler. If you Stop the Scheduler, you must run all three functions again.
Parameter | Input | Description |
---|---|---|
None |
|
|
Returns
Does not return any value.

Starts the scheduler.
The scheduler functions must be executed in the following order: Schedule a Job, Start the Scheduler and then Stop the Scheduler. If you Stop the Scheduler, you must run all three functions again.
Parameter | Input | Description |
---|---|---|
None |
|
|
Returns
Does not return any value.

Stops the scheduler.
The scheduler functions must be executed in the following order: Schedule a Job, Start the Scheduler and then Stop the Scheduler. If you Stop the Scheduler, you must run all three functions again.
Parameter | Input | Description |
---|---|---|
None |
|
|
Returns
Does not return any value.